package cn.dlc.com.rmi.server.impl;

import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;

import cn.dlc.com.rmi.server.UserService;

public class UserServiceImpl extends UnicastRemoteObject implements UserService{

	public UserServiceImpl() throws RemoteException {
		
	}

	@Override
	public String sayHello(String name) throws Exception {
		return "hello " + name;
	}

}
